(mouse-wheel-mode): Make sure the new defvar doesn't
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 12 Sep 2009 19:03:49 +0000 (19:03 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 12 Sep 2009 19:03:49 +0000 (19:03 +0000)
commitd80231266af5d9d1cadd620dcd6f105875beacfd
treef162a785e4e99f7c7467f5951741757fe067ec3e
parent4741a7db182c1ff33969e1e84d56c0d407535538
(mouse-wheel-mode): Make sure the new defvar doesn't
actually define the variable, but only silences the byte-compiler.
(mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
before looking it up.
(mouse-wheel-scroll-amount): Also reset the bindings if this value is changed.
lisp/ChangeLog
lisp/mwheel.el